<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class Post_lib {

    function __construct() {
        //$this->CI = & get_instance();
        //log_message('debug', "Login Class Initialized");
    }

    function transform($d) {


        $not_empty = array();
        //$str = explode("&", $d["data"]);


        

        foreach ($d as $name => $is_val) {

            if (!empty($is_val)) {
                

                $not_empty[$name] = $is_val;
            }
        }

        

        
            return $not_empty;
        
    }

}

// END Login class
/* End of file Login.php */
